#ifndef POKER_PLAYER_H
#define POKER_PLAYER_H
#include "card.h"
#include "poker_gameplay.h"
#include <vector>


class PokerPlayer {
public:
	PokerPlayer()
	{
	};

//        Action getNextAction(std::vector<Action> actionHistory, std::vector<Card> boardCards, int player2_chips)
	Action getNextAction(std::vector<Action> actionHistory, std::vector<Card> boardCards, int player1_chips, int player2_chips, bool dealer)
	{

	};

	void setChips(int chips_)
	{
		chips = chips_;
	};

	void setHoleCards(HoleCards holeCards_)
	{
		holeCards = holeCards_;
	};


	void showResult(std::vector<Action> *actionHistory, std::vector<Card> boardCards, bool dealer, HoleCards oppCards)
	{

	};

	Action generateAction(option option_,int value_)
	{
		if(chips>=value_)
		{
			Action action(option_, value_);
			return action;
		}
		else
		{
			Action action(option_, chips);
			return action;
		}
	};

	int calcRaiseValue(std::vector<Action> *actionHistory)
	{	// TODO: Not Needed for Fixed Limit 
		return 10;
	};

	int calcCallValue(std::vector<Action> *actionHistory)
	{	// TODO: Not Needed for Fixed Limit 
		return 10;
	};


	HoleCards holeCards;
	int chips;
};

#endif
